200
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions

Gantt1->FormatAnchor[true] = L"<b><u><fgcolor=FF0000> </fgcolor></u></b>";
Gantt1->Columns->Add(L"Column");
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	var_Items->set_CellCaptionFormat(TVariant(var_Items->AddItem(TVariant("Just an <a1>anchor</a> element ..."))),TVariant(0),Exganttlib_tlb::CaptionFormatEnum::exHTML);
Exganttlib_tlb::IItemsPtr var_Items1 = Gantt1->Items;
	var_Items1->set_CellCaptionFormat(TVariant(var_Items1->AddItem(TVariant("Just another <a2>anchor</a> element ..."))),TVariant(0),Exganttlib_tlb::CaptionFormatEnum::exHTML);

199
Can I change the font for the tooltip

Gantt1->ToolTipDelay = 1;
Gantt1->ToolTipWidth = 364;
Gantt1->Columns->Add(L"tootip")->ToolTip = L"<br><font Tahoma;14>this</font> is a tooltip assigned to a column<br>";

198
Can I change the font for the tooltip

Gantt1->ToolTipDelay = 1;
/*
	Select the Component\Import Component...\Import a Type Library,
	to import the following Type Library:

		OLE Automation

	TypeLib: stdole2.tlb

	to define the namespace: Stdole_tlb
*/
//#include "STDOLE_TLB.h"
Stdole_tlb::FontPtr var_StdFont = Gantt1->ToolTipFont;
	var_StdFont->Name = L"Tahoma";
	var_StdFont->Size = TVariant(long(14));
Gantt1->ToolTipWidth = 364;
Gantt1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";

197
Can I change the order of the buttons in the scroll bar

Gantt1->ScrollOrderParts[Exganttlib_tlb::ScrollBarEnum::exHScroll] = L"t,l,r";
Gantt1->ScrollOrderParts[Exganttlib_tlb::ScrollBarEnum::exVScroll] = L"t,l,r";
Gantt1->ScrollBars = Exganttlib_tlb::ScrollBarsEnum::exDisableBoth;

196
The thumb size seems to be very small. Can I make it bigger

Gantt1->ColumnAutoResize = false;
Gantt1->Columns->Add(L"C1")->Width = 256;
Gantt1->Columns->Add(L"C2")->Width = 256;
Gantt1->Columns->Add(L"C3")->Width = 256;
Gantt1->ScrollThumbSize[Exganttlib_tlb::ScrollBarEnum::exHScroll] = 64;

195
How can I display my text on the scroll bar, using a different font

Gantt1->ScrollPartCaption[Exganttlib_tlb::ScrollBarEnum::exHScroll,Exganttlib_tlb::ScrollPartEnum::exThumbPart] = L"This is <s><font Tahoma;12> just </font></s> text";
Gantt1->ColumnAutoResize = false;
Gantt1->ScrollHeight = 20;
Gantt1->Columns->Add(L"C1")->Width = 256;
Gantt1->Columns->Add(L"C2")->Width = 256;
Gantt1->Columns->Add(L"C3")->Width = 256;

194
How can I display my text on the scroll bar, using a different font

Gantt1->ScrollPartCaption[Exganttlib_tlb::ScrollBarEnum::exHScroll,Exganttlib_tlb::ScrollPartEnum::exThumbPart] = L"This is just a text";
Gantt1->ScrollFont[Exganttlib_tlb::ScrollBarEnum::exHScroll]->Size = TVariant(long(12));
Gantt1->ColumnAutoResize = false;
Gantt1->ScrollHeight = 20;
Gantt1->Columns->Add(L"C1")->Width = 256;
Gantt1->Columns->Add(L"C2")->Width = 256;
Gantt1->Columns->Add(L"C3")->Width = 256;

193
How can I display my text on the scroll bar

Gantt1->ScrollPartCaption[Exganttlib_tlb::ScrollBarEnum::exHScroll,Exganttlib_tlb::ScrollPartEnum::exThumbPart] = L"this is just a text";
Gantt1->ColumnAutoResize = false;
Gantt1->Columns->Add(L"C1")->Width = 256;
Gantt1->Columns->Add(L"C2")->Width = 256;
Gantt1->Columns->Add(L"C3")->Width = 256;

192
How do I enlarge or change the size of the control's scrollbars

Gantt1->ScrollHeight = 18;
Gantt1->ScrollWidth = 18;
Gantt1->ScrollButtonWidth = 18;
Gantt1->ScrollButtonHeight = 18;
Gantt1->ScrollBars = Exganttlib_tlb::ScrollBarsEnum::exDisableBoth;

191
How do I assign a tooltip to a scrollbar

Gantt1->ScrollToolTip[Exganttlib_tlb::ScrollBarEnum::exHScroll] = L"This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar";
Gantt1->ColumnAutoResize = false;
Gantt1->Columns->Add(L"C1")->Width = 256;
Gantt1->Columns->Add(L"C2")->Width = 256;
Gantt1->Columns->Add(L"C3")->Width = 256;

190
How do I assign an icon to the button in the scrollbar

Gantt1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Gantt1->ScrollPartVisible[Exganttlib_tlb::ScrollBarEnum::exHScroll,Exganttlib_tlb::ScrollPartEnum::exLeftB1Part] = true;
Gantt1->ScrollPartCaption[Exganttlib_tlb::ScrollBarEnum::exHScroll,Exganttlib_tlb::ScrollPartEnum::exLeftB1Part] = L"<img>1</img>";
Gantt1->ScrollHeight = 18;
Gantt1->ScrollButtonWidth = 18;
Gantt1->ScrollBars = Exganttlib_tlb::ScrollBarsEnum::exDisableNoHorizontal;

189
I need to add a button in the scroll bar. Is this possible

Gantt1->ScrollPartVisible[Exganttlib_tlb::ScrollBarEnum::exHScroll,Exganttlib_tlb::ScrollPartEnum::exLeftB1Part] = true;
Gantt1->ScrollPartCaption[Exganttlib_tlb::ScrollBarEnum::exHScroll,Exganttlib_tlb::ScrollPartEnum::exLeftB1Part] = L"1";
Gantt1->ScrollBars = Exganttlib_tlb::ScrollBarsEnum::exDisableNoHorizontal;

188
Can I display an additional buttons in the scroll bar

Gantt1->ScrollPartVisible[Exganttlib_tlb::ScrollBarEnum::exHScroll,Exganttlib_tlb::ScrollPartEnum::exLeftB1Part] = true;
Gantt1->ScrollPartVisible[Exganttlib_tlb::ScrollBarEnum::exHScroll,Exganttlib_tlb::ScrollPartEnum::exLeftB2Part] = true;
Gantt1->ScrollPartVisible[Exganttlib_tlb::ScrollBarEnum::exHScroll,Exganttlib_tlb::ScrollPartEnum::exRightB6Part] = true;
Gantt1->ScrollPartVisible[Exganttlib_tlb::ScrollBarEnum::exHScroll,Exganttlib_tlb::ScrollPartEnum::exRightB5Part] = true;
Gantt1->ScrollBars = Exganttlib_tlb::ScrollBarsEnum::exDisableNoHorizontal;

187
Can I display the picture aligned to the right, while the text aligned to the left

Gantt1->DefaultItemHeight = 48;
Gantt1->Columns->Add(L"C1");
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	TVariant s = TVariant(var_Items->get_SplitCell(TVariant(var_Items->AddItem(TVariant("Text"))),TVariant(0)));
	var_Items->set_CellPicture(TNoParam(),TVariant(s),Gantt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	var_Items->set_CellHAlignment(TNoParam(),TVariant(s),Exganttlib_tlb::AlignmentEnum::RightAlignment);

186
How can I display a custom size picture to a cell or item

Gantt1->DefaultItemHeight = 48;
Gantt1->Columns->Add(L"C1");
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	var_Items->set_CellPicture(TVariant(var_Items->AddItem(TVariant("Text"))),TVariant(0),Gantt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));

185
How can I display a multiple pictures to a cell or item

Gantt1->DefaultItemHeight = 48;
Gantt1->HTMLPicture[L"pic1"] = TVariant("c:\\exontrol\\images\\zipdisk.gif");
Gantt1->HTMLPicture[L"pic2"] = TVariant("c:\\exontrol\\images\\auction.gif");
Gantt1->Columns->Add(L"C1");
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	var_Items->set_CellCaptionFormat(TVariant(var_Items->AddItem(TVariant("<img>pic1</img> Text <img>pic2</img> another text ..."))),TVariant(0),Exganttlib_tlb::CaptionFormatEnum::exHTML);

184
How do I change the column's foreground color for numbers between an interval - Range

Exganttlib_tlb::IConditionalFormatPtr var_ConditionalFormat = Gantt1->ConditionalFormats->Add(L"%0 >= 2 and %0 <= 10",TNoParam());
	var_ConditionalFormat->Bold = true;
	var_ConditionalFormat->ForeColor = RGB(255,0,0);
	var_ConditionalFormat->ApplyTo = Exganttlib_tlb::FormatApplyToEnum(0x1);
Gantt1->Columns->Add(L"N1");
Gantt1->Columns->Add(L"N2");
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant(1))),TVariant(1),TVariant(2));
Exganttlib_tlb::IItemsPtr var_Items1 = Gantt1->Items;
	var_Items1->set_CellCaption(TVariant(var_Items1->AddItem(TVariant(3))),TVariant(1),TVariant(3));
Exganttlib_tlb::IItemsPtr var_Items2 = Gantt1->Items;
	var_Items2->set_CellCaption(TVariant(var_Items2->AddItem(TVariant(10))),TVariant(1),TVariant(11));
Exganttlib_tlb::IItemsPtr var_Items3 = Gantt1->Items;
	var_Items3->set_CellCaption(TVariant(var_Items3->AddItem(TVariant(13))),TVariant(1),TVariant(31));
Gantt1->SearchColumnIndex = 1;

183
How do I change the item's foreground color for numbers between an interval - Range

Gantt1->ConditionalFormats->Add(L"%0 >= 2 and %0 <= 10",TNoParam())->ForeColor = RGB(255,0,0);
Gantt1->Columns->Add(L"Numbers");
Gantt1->Items->AddItem(TVariant(1));
Gantt1->Items->AddItem(TVariant(2));
Gantt1->Items->AddItem(TVariant(10));
Gantt1->Items->AddItem(TVariant(20));

182
How do I change the item's background color for numbers less than a value

Gantt1->ConditionalFormats->Add(L"%0 < 10",TNoParam())->BackColor = RGB(255,0,0);
Gantt1->Columns->Add(L"Numbers");
Gantt1->Items->AddItem(TVariant(1));
Gantt1->Items->AddItem(TVariant(2));
Gantt1->Items->AddItem(TVariant(10));
Gantt1->Items->AddItem(TVariant(20));

181
How do I underline the numbers greater than a value

Gantt1->ConditionalFormats->Add(L"%0 >= 10",TNoParam())->Underline = true;
Gantt1->Columns->Add(L"Numbers");
Gantt1->Items->AddItem(TVariant(1));
Gantt1->Items->AddItem(TVariant(2));
Gantt1->Items->AddItem(TVariant(10));
Gantt1->Items->AddItem(TVariant(20));

180
How do I highlight in italic the numbers greater than a value

Gantt1->ConditionalFormats->Add(L"%0 >= 10",TNoParam())->StrikeOut = true;
Gantt1->Columns->Add(L"Numbers");
Gantt1->Items->AddItem(TVariant(1));
Gantt1->Items->AddItem(TVariant(2));
Gantt1->Items->AddItem(TVariant(10));
Gantt1->Items->AddItem(TVariant(20));

179
How do I highlight in italic the numbers greater than a value

Gantt1->ConditionalFormats->Add(L"%0 >= 10",TNoParam())->Italic = true;
Gantt1->Columns->Add(L"Numbers");
Gantt1->Items->AddItem(TVariant(1));
Gantt1->Items->AddItem(TVariant(2));
Gantt1->Items->AddItem(TVariant(10));
Gantt1->Items->AddItem(TVariant(20));

178
How do I highlight in bold the numbers greater than a value

Gantt1->ConditionalFormats->Add(L"%0 >= 10",TNoParam())->Bold = true;
Gantt1->Columns->Add(L"Numbers");
Gantt1->Items->AddItem(TVariant(1));
Gantt1->Items->AddItem(TVariant(2));
Gantt1->Items->AddItem(TVariant(10));
Gantt1->Items->AddItem(TVariant(20));

177
Can I use your EBN files to change the visual appearance for +/- expand - collapse buttons

Gantt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Gantt1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Gantt1->LinesAtRoot = Exganttlib_tlb::LinesAtRootEnum::exGroupLinesAtRoot;
Gantt1->HasButtons = Exganttlib_tlb::ExpandButtonEnum::exCustom;
Gantt1->HasButtonsCustom[false] = 16777216;
Gantt1->HasButtonsCustom[true] = 33554432;
Gantt1->Columns->Add(L"Column");
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	long h = var_Items->AddItem(TVariant("Root 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
	var_Items->set_ExpandItem(h,true);
	h = var_Items->AddItem(TVariant("Root 2"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child"));

176
Can I use your EBN files to change the visual appearance for radio buttons

Gantt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Gantt1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Gantt1->RadioImage[false] = 16777216;
Gantt1->RadioImage[true] = 33554432;
Gantt1->Columns->Add(L"Radio")->set_Def(Exganttlib_tlb::DefColumnEnum::exCellHasRadioButton,TVariant(true));
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	var_Items->AddItem(TVariant("Radio 1"));
	var_Items->set_CellState(TVariant(var_Items->AddItem(TVariant("Radio 2"))),TVariant(0),1);
	var_Items->AddItem(TVariant("Radio 3"));

175
Can I use your EBN files to change the visual appearance for checkbox cells

Gantt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Gantt1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Gantt1->CheckImage[Exganttlib_tlb::CheckStateEnum::Unchecked] = 16777216;
Gantt1->CheckImage[Exganttlib_tlb::CheckStateEnum::Checked] = 33554432;
Gantt1->Columns->Add(L"Check")->set_Def(Exganttlib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true));
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	var_Items->AddItem(TVariant("Check 1"));
	var_Items->set_CellState(TVariant(var_Items->AddItem(TVariant("Check 2"))),TVariant(0),1);

174
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

Gantt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Gantt1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Gantt1->VisualAppearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exHSThumb] = 0x1000000;
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exHSThumbP] = 0x2000000;
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exHSThumbH] = 0x3000000;
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exVSThumb] = 0x1000000;
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exVSThumbP] = 0x2000000;
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exVSThumbH] = 0x3000000;
Gantt1->ColumnAutoResize = false;
Gantt1->ScrollBySingleLine = true;
Gantt1->Columns->Add(L"S")->Width = 483;
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	var_Items->set_ItemHeight(var_Items->AddItem(TVariant("Item 1")),248);
Gantt1->Items->AddItem(TVariant("Item 2"));

173
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

Gantt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Gantt1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Gantt1->VisualAppearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exHSThumb] = 0x1000000;
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exHSThumbP] = 0x2000000;
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exHSThumbH] = 0x3000000;
Gantt1->ColumnAutoResize = false;
Gantt1->Columns->Add(L"S")->Width = 483;

172
I've seen that you can change the visual appearance for the scroll bar. How can I do that

Gantt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Gantt1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Gantt1->VisualAppearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exSBtn] = 0x1000000;
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exSBtnP] = 0x2000000;
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exSBtnH] = 0x3000000;
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exHSBack] = RGB(240,240,240);
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exVSBack] = RGB(240,240,240);
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exScrollSizeGrip] = RGB(240,240,240);
Gantt1->Columns->Add(L"S")->Width = 32;
Gantt1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
Gantt1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
Gantt1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));
Gantt1->Columns->Add(L"E1")->Width = 32;
Gantt1->Columns->Add(L"E2")->Width = 32;
Gantt1->Columns->Add(L"E3")->Width = 32;
Gantt1->Columns->Add(L"E4")->Width = 32;
Gantt1->ColumnAutoResize = false;
Gantt1->ScrollBars = Exganttlib_tlb::ScrollBarsEnum::exDisableBoth;

171
Is there any option to highligth the column from the cursor - point

Gantt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exCursorHoverColumn] = 0x1000000;
Gantt1->Columns->Add(L"S")->Width = 32;
Gantt1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
Gantt1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
Gantt1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));
Gantt1->Columns->Add(L"E1")->Width = 32;
Gantt1->Columns->Add(L"E2")->Width = 32;
Gantt1->Columns->Add(L"E3")->Width = 32;
Gantt1->Columns->Add(L"E4")->Width = 32;

170
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology

Gantt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exSelBackColorFilter] = 0x1000000;
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exSelForeColorFilter] = RGB(255,20,20);
Gantt1->Columns->Add(L"Filter")->DisplayFilterButton = true;

169
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

Gantt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Gantt1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exDateHeader] = 0x1000000;
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exDateTodayUp] = 0x1000000;
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exDateTodayDown] = 0x2000000;
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exDateScrollThumb] = 0x1000000;
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exDateScrollRange] = RGB(230,230,230);
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exDateSeparatorBar] = RGB(230,230,230);
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exDateSelect] = 0x1000000;
Exganttlib_tlb::IColumnPtr var_Column = Gantt1->Columns->Add(L"Date");
	var_Column->FilterType = Exganttlib_tlb::FilterTypeEnum::exDate;
	var_Column->DisplayFilterButton = true;
	var_Column->DisplayFilterDate = true;

168
How do I change the visual aspect of the close button in the filter bar, using EBN

Gantt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exFooterFilterBarButton] = 0x1000000;
Gantt1->Columns->Add(L"Filter")->FilterType = Exganttlib_tlb::FilterTypeEnum::exBlanks;
Gantt1->ApplyFilter();

167
How do I change the visual aspect of buttons in the cell, using EBN

Gantt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Gantt1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exCellButtonUp] = 0x1000000;
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exCellButtonDown] = 0x2000000;
Gantt1->SelForeColor = RGB(0,0,0);
Gantt1->ShowFocusRect = false;
Gantt1->Columns->Add(L"Column 1")->set_Def(Exganttlib_tlb::DefColumnEnum::exCellHasButton,TVariant(true));
Gantt1->Items->AddItem(TVariant("Button 1"));
Gantt1->Items->AddItem(TVariant("Button 2"));
Gantt1->Columns->Add(L"Column 2");

166
How do I change the visual aspect of the drop down filter button, using EBN

Gantt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Gantt1->Background[Exganttlib_tlb::BackgroundPartEnum::exHeaderFilterBarButton] = 0x1000000;
Gantt1->Columns->Add(L"Filter")->DisplayFilterButton = true;

165
Is there any function to get the control's data in your x-script format / template
Gantt1->Columns->Add(L"Column");
Gantt1->Items->AddItem(TVariant("ToTemplate()"));

164
How do I enable resizing the columns at runtime

Gantt1->ColumnsAllowSizing = true;
Gantt1->MarkSearchColumn = false;
Gantt1->HeaderVisible = false;
Gantt1->Columns->Add(L"Column 1");
Gantt1->Columns->Add(L"Column 2");
Gantt1->DrawGridLines = Exganttlib_tlb::GridLinesEnum::exVLines;
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant("Item 1"))),TVariant(1),TVariant("Sub Item 1"));
Exganttlib_tlb::IItemsPtr var_Items1 = Gantt1->Items;
	var_Items1->set_CellCaption(TVariant(var_Items1->AddItem(TVariant("Item 2"))),TVariant(1),TVariant("Sub Item 2"));

163
How can I select the second inner column when spliting the cells

Gantt1->SelectColumnInner = 1;
Gantt1->FullRowSelect = false;
Gantt1->DrawGridLines = Exganttlib_tlb::GridLinesEnum::exAllLines;
Gantt1->Columns->Add(L"Column");
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	var_Items->set_CellCaption(TNoParam(),TVariant(var_Items->get_SplitCell(TVariant(var_Items->AddItem(TVariant("Split Cell 1.1"))),TVariant(0))),TVariant("Split Cell 2.1"));
	var_Items->set_CellCaption(TNoParam(),TVariant(var_Items->get_SplitCell(TVariant(var_Items->AddItem(TVariant("Split Cell 1.2"))),TVariant(0))),TVariant("Split Cell 2.2"));
	var_Items->set_SelectItem(var_Items->FirstVisibleItem,true);

162
How can I sort by multiple columns

Gantt1->SingleSort = false;
Gantt1->Columns->Add(L"C1")->SortOrder = Exganttlib_tlb::SortOrderEnum::SortAscending;
Gantt1->Columns->Add(L"C2")->SortOrder = Exganttlib_tlb::SortOrderEnum::SortDescending;
Gantt1->Columns->Add(L"C3")->SortOrder = Exganttlib_tlb::SortOrderEnum::SortAscending;

161
How can I add several columns to control's sort bar

Gantt1->SortBarVisible = true;
Gantt1->SortBarColumnWidth = 48;
Gantt1->Columns->Add(L"C1")->SortOrder = Exganttlib_tlb::SortOrderEnum::SortAscending;
Gantt1->Columns->Add(L"C2")->SortOrder = Exganttlib_tlb::SortOrderEnum::SortDescending;

160
How can I change the width of the columns being displayed in the sort bar

Gantt1->SortBarVisible = true;
Gantt1->SortBarColumnWidth = 48;
Gantt1->Columns->Add(L"C1")->SortOrder = Exganttlib_tlb::SortOrderEnum::SortAscending;
Gantt1->Columns->Add(L"C2")->SortOrder = Exganttlib_tlb::SortOrderEnum::SortDescending;

159
How can I change the height of the sort bar's

Gantt1->SortBarVisible = true;
Gantt1->SortBarHeight = 48;

158
How can I change the sort bar's foreground color

Gantt1->SortBarVisible = true;
Gantt1->ForeColorSortBar = RGB(255,0,0);

157
How can I change the visual appearance of the control's sort bar, using EBN files

Gantt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Gantt1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Gantt1->SortBarVisible = true;
Gantt1->BackColorSortBar = 0x1000000;
Gantt1->BackColorSortBarCaption = 0x2000000;
Gantt1->Appearance = Exganttlib_tlb::AppearanceEnum::None2;

156
How can I change the sort bar's background color

Gantt1->SortBarVisible = true;
Gantt1->BackColorSortBar = RGB(255,0,0);
Gantt1->BackColorSortBarCaption = RGB(128,0,0);

155
How can I change the default caption being displayed in the control's sort bar

Gantt1->SortBarVisible = true;
Gantt1->SortBarCaption = L"new caption";

154
How can I show the locked / fixed items on the bottom side of the control

Gantt1->ShowLockedItems = true;
Gantt1->Columns->Add(L"Column");
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	var_Items->set_LockedItemCount(Exganttlib_tlb::VAlignmentEnum::MiddleAlignment,2);
	var_Items->set_CellCaption(TVariant(var_Items->get_LockedItem(Exganttlib_tlb::VAlignmentEnum::MiddleAlignment,0)),TVariant(0),TVariant("locked item 1"));
	var_Items->set_CellCaption(TVariant(var_Items->get_LockedItem(Exganttlib_tlb::VAlignmentEnum::MiddleAlignment,1)),TVariant(0),TVariant("locked item 2"));
	var_Items->AddItem(TVariant("un-locked item"));

153
How can I show the locked / fixed items

Gantt1->ShowLockedItems = true;
Gantt1->Columns->Add(L"Column");
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	var_Items->set_LockedItemCount(Exganttlib_tlb::VAlignmentEnum::TopAlignment,2);
	var_Items->set_CellCaption(TVariant(var_Items->get_LockedItem(Exganttlib_tlb::VAlignmentEnum::TopAlignment,0)),TVariant(0),TVariant("locked item 1"));
	var_Items->set_CellCaption(TVariant(var_Items->get_LockedItem(Exganttlib_tlb::VAlignmentEnum::TopAlignment,1)),TVariant(0),TVariant("locked item 2"));
	var_Items->AddItem(TVariant("un-locked item"));

152
How can I hide the locked / fixed items

Gantt1->ShowLockedItems = false;
Gantt1->Columns->Add(L"Column");
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	var_Items->set_LockedItemCount(Exganttlib_tlb::VAlignmentEnum::TopAlignment,1);
	var_Items->set_CellCaption(TVariant(var_Items->get_LockedItem(Exganttlib_tlb::VAlignmentEnum::TopAlignment,0)),TVariant(0),TVariant("locked item"));
	var_Items->AddItem(TVariant("un-locked item"));

151
How can I show the control's sort bar

Gantt1->SortBarVisible = true;

150
How can I stretch a picture on the control's header, when multiple levels are displayed, so it is not tiled

Gantt1->PictureLevelHeader = (IPictureDisp*)(Gantt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)"));
Gantt1->PictureDisplayLevelHeader = Exganttlib_tlb::PictureDisplayEnum::Stretch;
Gantt1->Columns->Add(L"S")->Width = 32;
Gantt1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
Gantt1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
Gantt1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));
Gantt1->Columns->Add(L"E1")->Width = 32;
Gantt1->Columns->Add(L"E2")->Width = 32;
Gantt1->Columns->Add(L"E3")->Width = 32;
Gantt1->Columns->Add(L"E4")->Width = 32;

149
How can I display a picture on the control's header, when multiple levels are displayed, so it is not tiled

Gantt1->PictureLevelHeader = (IPictureDisp*)(Gantt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\colorize.gif`)"));
Gantt1->PictureDisplayLevelHeader = Exganttlib_tlb::PictureDisplayEnum::MiddleRight;
Gantt1->Columns->Add(L"S")->Width = 32;
Gantt1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
Gantt1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
Gantt1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));
Gantt1->Columns->Add(L"E")->Width = 32;

148
How can I display a picture on the control's header, when multiple levels are displayed

Gantt1->PictureLevelHeader = (IPictureDisp*)(Gantt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
Gantt1->Columns->Add(L"S")->Width = 32;
Gantt1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
Gantt1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
Gantt1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));

147
How can I change the header's background color, when multiple levels are displayed

Gantt1->BackColorLevelHeader = RGB(250,0,0);
Gantt1->Columns->Add(L"S")->Width = 32;
Gantt1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
Gantt1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
Gantt1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));

146
Can I programmatically scroll the control
Gantt1->Columns->Add(L"Column");
Gantt1->Items->AddItem(TVariant(0));
Gantt1->Items->AddItem(TVariant(1));
Gantt1->Items->AddItem(TVariant(2));
Gantt1->Items->AddItem(TVariant(3));
Gantt1->PutItems(Gantt1->GetItems(TVariant(0)),TNoParam());
Gantt1->PutItems(Gantt1->GetItems(TVariant(0)),TNoParam());
Gantt1->ScrollPos[true] = 1;

145
How do I disable expanding or collapsing an item when user presses the arrow keys

Gantt1->ExpandOnKeys = false;
Gantt1->LinesAtRoot = Exganttlib_tlb::LinesAtRootEnum::exLinesAtRoot;
Gantt1->Columns->Add(L"Column 1");
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	long h = var_Items->AddItem(TVariant("Root"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
	var_Items->set_ExpandItem(h,true);

144
How do I expand automatically the items while user types characters to searching for something ( incremental searching )

Gantt1->ExpandOnSearch = true;
Gantt1->LinesAtRoot = Exganttlib_tlb::LinesAtRootEnum::exLinesAtRoot;
Gantt1->AutoSearch = true;
Gantt1->Columns->Add(L"Column")->AutoSearch = Exganttlib_tlb::AutoSearchEnum::exContains;
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	var_Items->InsertItem(var_Items->InsertItem(var_Items->AddItem(TVariant("text")),TNoParam(),TVariant("some text")),TNoParam(),TVariant("another text"));
	var_Items->InsertItem(var_Items->InsertItem(var_Items->AddItem(TVariant("text")),TNoParam(),TVariant("some text")),TNoParam(),TVariant("another text"));

143
Can I programmatically scroll the control
Gantt1->Columns->Add(L"Column");
Gantt1->Items->AddItem(TVariant(0));
Gantt1->Items->AddItem(TVariant(1));
Gantt1->Items->AddItem(TVariant(2));
Gantt1->Items->AddItem(TVariant(3));
Gantt1->PutItems(Gantt1->GetItems(TVariant(0)),TNoParam());
Gantt1->PutItems(Gantt1->GetItems(TVariant(0)),TNoParam());
Gantt1->Scroll(Exganttlib_tlb::ScrollEnum::exScrollDown,TNoParam());

142
Do you have some function to load data from a safe array
Gantt1->Columns->Add(L"Column");
Gantt1->Items->AddItem(TVariant(0));
Gantt1->PutItems(Gantt1->GetItems(TVariant(0)),TNoParam());

141
Do you have some function to retrieve all items to a safe array
Gantt1->Columns->Add(L"Column");
Gantt1->Items->AddItem(TVariant(0));
Gantt1->PutItems(Gantt1->GetItems(TVariant(0)),TNoParam());
Gantt1->Items->AddItem(TVariant(1));
Gantt1->PutItems(Gantt1->GetItems(TVariant(0)),TNoParam());
Gantt1->Items->AddItem(TVariant(2));
Gantt1->PutItems(Gantt1->GetItems(TVariant(0)),TNoParam());
Gantt1->Items->AddItem(TVariant(3));

140
How can still display the selected items when the control loses the focus

Gantt1->HideSelection = false;
Gantt1->Columns->Add(L"Column");
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	var_Items->AddItem(TVariant("Item 3"));
	var_Items->AddItem(TVariant("Item 1"));
	var_Items->set_SelectItem(var_Items->AddItem(TVariant("Item 2")),true);

139
How can I hide a column

Gantt1->Columns->Add(L"Hidden")->Visible = false;
Gantt1->Columns->Add(L"2");
Gantt1->Columns->Add(L"3");
Gantt1->Columns->Add(L"4");
Gantt1->Columns->Add(L"5");

138
How can I ensure that a column is visible and fits the control's client area

Gantt1->ColumnAutoResize = false;
Gantt1->Columns->Add(L"1")->Width = 128;
Gantt1->Columns->Add(L"2")->Width = 128;
Gantt1->Columns->Add(L"3")->Width = 128;
Gantt1->Columns->Add(L"4")->Width = 128;
Gantt1->Columns->Add(L"5")->Width = 128;
Gantt1->EnsureVisibleColumn(TVariant("5"));

137
I've seen that the width of the tooltip is variable. Can I make it larger

Gantt1->ToolTipWidth = 328;
Gantt1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip that should be very very very very very very very long";

136
How do I disable showing the tooltip for all control
Gantt1->ToolTipDelay = 0;
Gantt1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";

135
How do I let the tooltip being displayed longer

Gantt1->ToolTipPopDelay = 10000;
Gantt1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";

134
How do I show the tooltip quicker
Gantt1->ToolTipDelay = 1;
Gantt1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";

133
How do I change the caption being displayed in the control's filter bar

Gantt1->FilterBarCaption = L"your filter caption";
Exganttlib_tlb::IColumnPtr var_Column = Gantt1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exganttlib_tlb::FilterTypeEnum::exBlanks;
Gantt1->ApplyFilter();

132
How do I disable expanding or collapsing an item when user double clicks it

Gantt1->ExpandOnDblClick = false;
Gantt1->LinesAtRoot = Exganttlib_tlb::LinesAtRootEnum::exLinesAtRoot;
Gantt1->Indent = 13;
Gantt1->Columns->Add(L"Column 1");
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	long h = var_Items->AddItem(TVariant("Root"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
	var_Items->set_ExpandItem(h,true);

131
How do I search case sensitive, using your incremental search feature

Gantt1->AutoSearch = true;
Gantt1->ASCIILower = L"";
Exganttlib_tlb::IColumnsPtr var_Columns = Gantt1->Columns;
	var_Columns->Add(L"exStartWith")->AutoSearch = Exganttlib_tlb::AutoSearchEnum::exStartWith;
	var_Columns->Add(L"exContains")->AutoSearch = Exganttlib_tlb::AutoSearchEnum::exContains;
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant("text"))),TVariant(1),TVariant("another text"));
Exganttlib_tlb::IItemsPtr var_Items1 = Gantt1->Items;
	var_Items1->set_CellCaption(TVariant(var_Items1->AddItem(TVariant("text"))),TVariant(1),TVariant("another text"));

130
How do I disable the control
Gantt1->Enabled = false;

129
How do I enable the incremental search feature within a column

Gantt1->AutoSearch = true;
Exganttlib_tlb::IColumnsPtr var_Columns = Gantt1->Columns;
	var_Columns->Add(L"exStartWith")->AutoSearch = Exganttlib_tlb::AutoSearchEnum::exStartWith;
	var_Columns->Add(L"exContains")->AutoSearch = Exganttlib_tlb::AutoSearchEnum::exContains;
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant("text"))),TVariant(1),TVariant("another text"));
Exganttlib_tlb::IItemsPtr var_Items1 = Gantt1->Items;
	var_Items1->set_CellCaption(TVariant(var_Items1->AddItem(TVariant("text"))),TVariant(1),TVariant("another text"));

128
How do I call your x-script language

Exganttlib_tlb::IColumnPtr var_Column = Gantt1->ExecuteTemplate(L"Columns.Add(`Column`)");
	var_Column->HeaderStrikeOut = true;
	var_Column->HeaderBold = true;

127
How do I call your x-script language

Gantt1->Template = L"Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`";

126
How do I show alternate rows in different background color

Gantt1->BackColorAlternate = RGB(240,240,240);
Gantt1->Columns->Add(L"Column");
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	var_Items->AddItem(TVariant("Item 1"));
	var_Items->AddItem(TVariant("Item 2"));
	var_Items->AddItem(TVariant("Item 3"));
	var_Items->AddItem(TVariant("Item 4"));
	var_Items->AddItem(TVariant("Item 5"));

125
How do I enlarge the drop down filter window

Gantt1->FilterBarDropDownHeight = "-320";
Exganttlib_tlb::IColumnPtr var_Column = Gantt1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterBarDropDownWidth = "-320";
Gantt1->Items->AddItem(TVariant("Item 1"));
Gantt1->Items->AddItem(TVariant("Item 2"));

124
How do I filter programatically the control

Exganttlib_tlb::IColumnPtr var_Column = Gantt1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exganttlib_tlb::FilterTypeEnum::exPattern;
	var_Column->Filter = L"Item*";
Gantt1->Items->AddItem(TVariant("Item 1"));
Gantt1->Items->AddItem(TVariant(""));
Gantt1->Items->AddItem(TVariant("Item 2"));
Gantt1->ApplyFilter();

123
How do I change the font of the control's filterbar

Gantt1->FilterBarFont->Size = TVariant(long(20));
Exganttlib_tlb::IColumnPtr var_Column = Gantt1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exganttlib_tlb::FilterTypeEnum::exBlanks;
Gantt1->ApplyFilter();

122
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance

Gantt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Gantt1->FilterBarBackColor = 0x1000000;
Exganttlib_tlb::IColumnPtr var_Column = Gantt1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exganttlib_tlb::FilterTypeEnum::exBlanks;
Gantt1->ApplyFilter();

121
How do I change the background color of the control's filterbar

Gantt1->FilterBarBackColor = RGB(240,240,240);
Exganttlib_tlb::IColumnPtr var_Column = Gantt1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exganttlib_tlb::FilterTypeEnum::exBlanks;
Gantt1->ApplyFilter();

120
How do I change the foreground color of the control's filterbar

Gantt1->FilterBarForeColor = RGB(255,0,0);
Exganttlib_tlb::IColumnPtr var_Column = Gantt1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exganttlib_tlb::FilterTypeEnum::exBlanks;
Gantt1->ApplyFilter();

119
How do I change the height of the control's filterbar

Gantt1->FilterBarHeight = 32;
Exganttlib_tlb::IColumnPtr var_Column = Gantt1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Exganttlib_tlb::FilterTypeEnum::exBlanks;
Gantt1->ApplyFilter();

118
How do select only a portion of text when the control starts editing a cell

Gantt1->AllowEdit = true;
Gantt1->SelStart = 1;
Gantt1->SelLength = 1;
Gantt1->Columns->Add(L"Column");
Gantt1->Items->AddItem(TVariant("Item 1"));
Gantt1->Items->AddItem(TVariant("Item 2"));

117
How do I change the header's foreground color

Gantt1->ForeColorHeader = RGB(255,0,0);
Gantt1->Columns->Add(L"Column 1");
Gantt1->Columns->Add(L"Column 2");
Gantt1->Items->AddItem(TVariant("Item 1"));

116
I have a picture on the control's background, the question is how do I draw selection as semi-transparent

Gantt1->Picture = (IPictureDisp*)(Gantt1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
Gantt1->SelBackMode = Exganttlib_tlb::BackModeEnum::exTransparent;
Gantt1->Columns->Add(L"Column");
Gantt1->Items->AddItem(TVariant("Item 1"));
Gantt1->Items->AddItem(TVariant("Item 2"));

115
It seems that the control uses the TAB key, is there any way to avoid that
Gantt1->UseTabKey = false;

114
I have FullRowSelect property on False, how do I force the user to select cells only in a specified column

Gantt1->SelectColumnIndex = 1;
Gantt1->FullRowSelect = false;
Gantt1->SelectColumn = true;
Gantt1->Columns->Add(L"Column 1");
Gantt1->Columns->Add(L"Column 2");
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant("Item 1"))),TVariant(1),TVariant("SubItem 1"));

113
How do I assign a database to your control, using ADO, ADOR or ADODB objects

Gantt1->ColumnAutoResize = false;
Gantt1->ContinueColumnScroll = false;
/*
	Select the Component\Import Component...\Import a Type Library,
	to import the following Type Library:

		Microsoft ActiveX Data Objects 6.1 Library

	TypeLib: msado15.dll

	to define the namespace: Adodb_tlb
*/
//#include "ADODB_TLB.h"
Adodb_tlb::_RecordsetPtr rs = Variant::CreateObject(L"ADOR.Recordset");
	rs->Open(TVariant("Orders"),TVariant("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGantt\\Sample\\Access\\SAMPLE.MDB"),Adodb_tlb::CursorTypeEnum::adOpenStatic,Adodb_tlb::LockTypeEnum::adLockOptimistic,0);
Gantt1->DataSource = (IDispatch*)rs;

112
How do I change the visual appearance effect for the selected item, using EBN

Gantt1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Gantt1->SelBackColor = 0x1000000;
Gantt1->SelForeColor = RGB(0,0,0);
Gantt1->ShowFocusRect = false;
Gantt1->Columns->Add(L"Column");
Gantt1->Items->AddItem(TVariant(0));
Gantt1->Items->AddItem(TVariant(1));

111
How do I change the colors for the selected item

Gantt1->SelBackColor = RGB(0,0,0);
Gantt1->Columns->Add(L"Column");
Gantt1->Items->AddItem(TVariant(0));
Gantt1->Items->AddItem(TVariant(1));

110
How do I get ride of the rectangle arround focused item

Gantt1->ShowFocusRect = false;
Gantt1->Columns->Add(L"Column");
Gantt1->Items->AddItem(TVariant(0));
Gantt1->Items->AddItem(TVariant(1));

109
How can I change the control's font
Gantt1->Font->Name = L"Tahoma";
Gantt1->Columns->Add(L"Column");

108
I can't scroll to the end of the data. What can I do
Gantt1->ScrollBySingleLine = true;
Gantt1->DrawGridLines = Exganttlib_tlb::GridLinesEnum::exRowLines;
Gantt1->Columns->Add(L"Column");
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	var_Items->set_ItemHeight(var_Items->AddItem(TVariant(0)),13);
Gantt1->PutItems(Gantt1->GetItems(TVariant(0)),TNoParam());
Exganttlib_tlb::IItemsPtr var_Items1 = Gantt1->Items;
	var_Items1->set_ItemHeight(var_Items1->AddItem(TVariant(1)),26);
Gantt1->PutItems(Gantt1->GetItems(TVariant(0)),TNoParam());
Exganttlib_tlb::IItemsPtr var_Items2 = Gantt1->Items;
	var_Items2->set_ItemHeight(var_Items2->AddItem(TVariant(2)),36);
Gantt1->PutItems(Gantt1->GetItems(TVariant(0)),TNoParam());
Exganttlib_tlb::IItemsPtr var_Items3 = Gantt1->Items;
	var_Items3->set_ItemHeight(var_Items3->AddItem(TVariant(3)),48);
Gantt1->PutItems(Gantt1->GetItems(TVariant(0)),TNoParam());

107
How do I specify the column where the tree lines / hierarchy are shown

Gantt1->LinesAtRoot = Exganttlib_tlb::LinesAtRootEnum::exGroupLinesAtRoot;
Gantt1->TreeColumnIndex = 1;
Gantt1->Columns->Add(L"Column 1");
Gantt1->Columns->Add(L"Column 2");
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	long h = var_Items->AddItem(TVariant("Root 1.1"));
	var_Items->set_CellCaption(TVariant(h),TVariant(1),TVariant("Root 1.2"));
	var_Items->set_CellCaption(TVariant(var_Items->InsertItem(h,TNoParam(),TVariant("Child 1.1"))),TVariant(1),TVariant("Child 1.2"));
	var_Items->set_CellCaption(TVariant(var_Items->InsertItem(h,TNoParam(),TVariant("Child 2.1"))),TVariant(1),TVariant("Child 2.2"));
	var_Items->set_ExpandItem(h,true);
	h = var_Items->AddItem(TVariant("Root 2.1"));
	var_Items->set_CellCaption(TVariant(h),TVariant(1),TVariant("Root 2.2"));
	var_Items->set_CellCaption(TVariant(var_Items->InsertItem(h,TNoParam(),TVariant("Child 1.1"))),TVariant(1),TVariant("Child 1.2"));

106
How do I specify the indentation of the child items relative to their parents

Gantt1->LinesAtRoot = Exganttlib_tlb::LinesAtRootEnum::exGroupLinesAtRoot;
Gantt1->Indent = 11;
Gantt1->Columns->Add(L"Column");
Exganttlib_tlb::IItemsPtr var_Items = Gantt1->Items;
	long h = var_Items->AddItem(TVariant("Root 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
	var_Items->set_ExpandItem(h,true);
	h = var_Items->AddItem(TVariant("Root 2"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child"));

105
Is there any option to select an item using the right button of the mouse (rclick)

Gantt1->RClickSelect = true;
Gantt1->Columns->Add(L"Column");
Gantt1->Items->AddItem(TVariant("Item 1"));
Gantt1->Items->AddItem(TVariant("Item 2"));

104
How do I edit a cell

Gantt1->AllowEdit = true;
Gantt1->Columns->Add(L"Column");
Gantt1->Items->AddItem(TVariant("Item 1"));
Gantt1->Items->AddItem(TVariant("Item 2"));

103
I have FullRowSelect property on False, how do I select a column
Gantt1->SelectColumnIndex = 1;
Gantt1->FullRowSelect = false;

102
How can I scroll columns one by one, not pixel by pixel
Gantt1->ContinueColumnScroll = false;
Gantt1->ColumnAutoResize = false;
Gantt1->Columns->Add(L"1")->Width = 128;
Gantt1->Columns->Add(L"2")->Width = 128;
Gantt1->Columns->Add(L"3")->Width = 128;
Gantt1->Columns->Add(L"4")->Width = 128;
Gantt1->Columns->Add(L"5")->Width = 128;

101
How can I enable multiple items selection

Gantt1->SingleSel = false;
Gantt1->Columns->Add(L"Column");
Gantt1->Items->AddItem(TVariant(0));
Gantt1->Items->AddItem(TVariant(1));
Gantt1->Items->AddItem(TVariant(2));